<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
    <title>Document</title>
    <style>

    </style>
</head>
<body>
<div id="app">
    <h1>请选择你的答案</h1>
    <select v-model="answer">
        <option>A</option>
        <option>B</option>
        <option>C</option>
        <option>D</option>
    </select>

    <h1>请选择你喜欢的学科</h1>
    <select v-model="project" multiple>
        <option value="语文">语文</option>
        <option value="数学">数学</option>
        <option value="英语">英语</option>
        <option value="化学">化学</option>
        <option value="物理">物理</option>
        <option value="生物">生物</option>
        <option value="体育">体育</option>
    </select>
</div>
<script>
    Vue.config.productionTip = false

    const vm = new Vue({
        el:'#app',
        data(){
            return{
                answer:'A',
                project:[],
            }
        },

    })
</script>
</body>
</html>